﻿using Microsoft.SharePoint.Utilities;

namespace RoketSolutions.SP2010.Infrostructure.Common
{
    public class UrlUtility
    {
        public static string GetTemplateFolder()
        {
            return SPUtility.GetGenericSetupPath("TEMPLATE");
        }

        public static string GetFeaturesFolder()
        {
            return SPUtility.GetGenericSetupPath("TEMPLATE\\FEATURES");
        }

        public static string GetLayoutsFolder()
        {
            return SPUtility.GetGenericSetupPath("TEMPLATE\\Layouts");
        }

    }
}